#ifndef __UART_H__
#define __UART_H__

#include <STC15F2K60S2.H>
#define uchar unsigned char 
#define uint unsigned int

extern uchar xdata puc_Uart_Send_String[20];  //串口发送缓冲数组
extern uchar uc_Uart_Rece_num;       //串口接收数据个数
extern uchar xdata puc_Uart_Rece_String[20];  //串口接收缓冲数组

void UartInit(void);		//9600bps@12.000MHz
void Uart_SendByte(unsigned char Byte);  //通过串口发送一个字节
void Uart_SendString(unsigned char *String);  //通过串口一个字符串

#endif
